#ifndef MAINWINDOW_LABEL_EVENT_FILTER_H
#define MAINWINDOW_LABEL_EVENT_FILTER_H

#include <QObject>
#include <QEvent>

// Qlabel事件过滤器类
class MainWindowLabelEventFilter : public QObject
{
    Q_OBJECT
public:
    explicit MainWindowLabelEventFilter(QObject *parent = nullptr);

    virtual bool eventFilter(QObject *watched, QEvent *event);

signals:
    void labelClicked(QObject *watched); // 鼠标点击信号
};

#endif // MAINWINDOW_LABEL_EVENT_FILTER_H
